package com.janko.eurekaprovider.controller;

import com.janko.sccommon.util.ResultFormat;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author nyk
 * @Date 2021/3/31 14:51
 * @Version 1.0
 * @Desc
 */

@RequestMapping("/provider/person")
@RestController
public class PersonController {

    @RequestMapping(value = "/date",method = RequestMethod.GET)
    public String getData() {
        return ResultFormat.success(new java.util.Date());
    }
}
